package com.wulijie.visitor;

/**
 * @Author cui
 * @Data
 */
public class FailAction extends Action{
    @Override
    public void getManResult(Man man) {
        System.out.println("fail man");
    }

    @Override
    public void getWomanResult(Woman woman) {
        System.out.println("woman fail");
    }
}
